package com.example.administrator.hello.AndroidText;

import android.support.test.uiautomator.UiObject2;

/**
 * Created by Administrator on 2017/7/15.
 */

public class PageAbout {
    private Finder finder;
    public PageAbout(Finder finder) {
        this.finder = finder;
    }
    public UiObject2 getPageAbout(){
        return finder.findById("net.oschina.app:id/tv_version_name");
    }
    public String getPageAboutText() {
        return getPageAbout().getText();
    }
}
